class Solution {
    public:
        int findKthLargest(vectorint& nums, int k) {
            sort(nums.begin(),nums.end());
            return nums[nums.size()-k];
        }
    };